package contratosonline.ejb.controller;

import java.util.List;

import javax.ejb.Local;

import contratosonline.entity.Campus;
@Local
public interface CampusJPAControllerLocal {

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#persiste(contratosonline.entity.Campus)
	 */
	public abstract void persiste(Campus campus);

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#altera(contratosonline.entity.Campus)
	 */
	public abstract void altera(Campus campus) throws Exception;

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#exclui(java.lang.Integer)
	 */
	public abstract void exclui(Integer id) throws Exception;

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#findCampusEntities()
	 */
	public abstract List<Campus> findCampusEntities();

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#findCampusEntities(int, int)
	 */
	public abstract List<Campus> findCampusEntities(int maxResults,
			int firstResult);

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#findCampus(java.lang.Integer)
	 */
	public abstract Campus findCampus(Integer id);

	/* (non-Javadoc)
	 * @see contratosonline.ejb.controller.CampusControllerLocal#getCampusCount()
	 */
	public abstract int getCampusCount();

	public abstract List<Campus> findCampusByName(String nomeCampus);

}